package com.example.springboot.service;

import com.example.springboot.entity.TruckOrder;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: jyf2000jyf
 * @Date: 2022/5/12
 * @Time: 8:59
 * @Email: 904593011@qq.com
 * @Description:
 **/
public interface AdminOrderService {
    Integer save(TruckOrder user);

    List<TruckOrder> findAll();

    Integer delete(Integer id);

    List<TruckOrder> findAll(Integer pageNum, Integer pageSize, String company, Integer status);

    Integer getAmount(String company, Integer status);

    ArrayList<Integer> initFlow(String date);

    Integer getOrderAmount();

    Integer getFinishedOrderAmount();
}
